<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<div class="col-md-8 col-sm-10 ">
            <!-- 帖子列表 -->
            <div class="panel panel-default">
                <div class="panel-heading">用户登陆

                </div>
                <div class="panel-body">
                <form class="form-horizontal" action="${ctx }/user/login" method="post">
                    <div class="form-group">
                        <label class="col-md-2 control-label">用户名:</label>
                        <div class="col-md-10">
                            <input type="text" class="form-control" id="username" name="username" placeholder="登陆bbs的用户名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">登陆密码:</label>
                        <div class="col-md-10">
                            <input type="password" class="form-control" id="password" name="password" placeholder="登陆BBS的密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-2 control-label">验证码:</label>
                        <div class="col-md-5">
                            <input type="text" class="form-control" id="code" name="code" placeholder="请输入右侧验证码">
                        </div>
                        <div class="col-md-5">
                            <img src="${ctx }/img">
                        </div>
                    </div>
                    <div class="text-center">
                        <button type="submit" class="btn btn-default">登陆</button>
                        <a type="submit" class="btn btn-default">忘记密码</a>
                    </div>
                </form>
                </div>
            </div>

        </div>